package com.cvit;
public class SuperClass
{
	public int x
	public SuperClass()
	{
		x=4;
		System.out.println("in subClass:X="+x);
	}
	public void aMethod()
	{
		System.out.println("in superClass.aMethod()");
	}
}
public class SubClass1 extends SubClass
{
	public int x
	public SubClass1()
	{
		x=6;
		System.out.println("in subClass:X="+x);
	}
	public void aMethod()
	{
		System.out.println("in SubClass1.aMethod()");
		System.out.println("super.x = "+super.x+"sub.x"+this.x);
	}
}